package model;

import structure.StartTime;
import clock.Clock;

public class Participant {
	private Clock clock;
	private String name;
	
	public Participant(String name, StartTime s) {
		this.name = name;
		clock = new Clock(s.getMinute(), s.getSecond());
	}
	
	public Clock getClock() {
		return clock;
	}
	
	public String getName() {
		return name;
	}
	
	public String toString() {
		return name + "(" + clock + ")";
	}
}
